//
//  LoginView.h
//  YiXiProject
//
//  Created by iMac on 2019/7/16.
//  Copyright © 2019 iMac. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol LoginDelegate <NSObject>

-(void)clickLoginButton:(NSInteger)tag;  // 点击登陆页面按钮执行的代理方法

@end

NS_ASSUME_NONNULL_BEGIN

@interface LoginView : UIView <UITextFieldDelegate>

@property (nonatomic, strong) UIButton *disMissBtn;   // 返回
@property (nonatomic,strong) UITextField *emailText;  // 邮箱
@property (nonatomic,strong) UITextField *password;   // 密码
@property (nonatomic,strong) UIButton *loginBtn;      // 登陆按钮
@property (nonatomic,strong) UIButton *goBackBtn;     // 返回按钮
@property (nonatomic, assign) NSInteger isSuccess;    // 1/ 符合登陆条件   0/ 不符合


@property (nonatomic,weak) id <LoginDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
